

import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:yueyin/service/login_service.dart';
import 'package:yueyin/service/register_service.dart';
import 'package:yueyin/service/theme_service.dart';

MultiProvider withProvidersApp(StatefulWidget app){
  return MultiProvider(
    providers: [
      ChangeNotifierProvider(create: (context) => LoginService()),
      ChangeNotifierProvider(create: (context) => ThemeService()),
      ChangeNotifierProvider(create: (context) => RegisterService()),

    ],
    child: app,
  );
}

